package fr.inria.arles.temperatureManagement.queryProcessor.query;

/**
 * The Interface representing a generic query.
 */
public interface Query {

    /**
     * Executes the query represented by this Query object.
     * 
     * @param args
     *            the arguments to this Query
     * @return The result of the query encoded into a string
     * @throws Exception
     *             if there is an syntax error in the query
     */
    String execute(String[] args) throws Exception;
}
